@import "../scss/reset";
@import "../utils/iconfont.css";

%hover {
    transform: scale(1.01);
    transition: all 0.3s;
    box-shadow: 0 1px 2px 2px rgb(209, 201, 201);
}

%title_p {
    font-size: 36px;
    color: #9e9e9e;
}

%title_all {
    color: #bfbfbf;
    font-weight: bold;
    position: absolute;
    top: 25px;
    right: 8px;

    &:hover {
        color: #d10f0f;

        .icon-xiangyou {
            background-color: #d10f0f;
        }
    }
}

// 查看全部
.icon-xiangyou {
    color: #fff;
    background-color: #bfbfbf;
    border-radius: 50%;
    margin-left: 20px;
}

// 加载中
%loading {
    width: 67px;

    img {
        width: 100%;
        display: block;
    }

    p {
        font-size: 18px;
        color: #999898;
        text-align: center;
        margin-top: 10px;
    }
}

%back {
    width: 50px;
    text-align: center;
    background-color: #cf0d0d;
}

// 向上回到顶部图标
.icon-xiangshang {
    color: #fff;
    font-size: 40px;
}

.wrap {
    width: 1920px;

    header {
        width: 100%;

        nav {
            width: 100%;
            height: 72px;
            display: flex;
            align-items: center;

            .logo {
                margin-left: 361px;

                img {
                    display: block;
                }
            }

            .search {
                width: 211px;
                height: 24px;
                position: relative;
                margin-left: 60px;

                input {
                    width: 100%;
                    height: 100%;
                    border-radius: 10px;
                    border: 1px solid #313131;
                }

                span {
                    font: {
                        size: 12px;
                        style: italic;
                    }

                    color: #757474;
                    line-height: 12px;
                    position: absolute;
                    top: 6px;
                    left: 11px;
                }

                .icon-sousuo {
                    font-size: 18px;
                    position: absolute;
                    top: 3px;
                    right: 15px;
                }
            }

            .title {
                width: 365px;
                color: #414141;
                font-size: 18px;
                display: flex;
                justify-content: space-between;
                margin-left: 90px;

                a {
                    color: #414141;
                    width: 54px;
                    text-align: center;
                    padding: 9px 0;
                    border-bottom: 3px solid transparent;

                    &:hover {
                        color: #cf0d0d;
                        border-bottom: 3px solid #cf0d0d;
                        font-weight: bold;
                    }
                }
            }

            .btnBox {
                margin-left: 150px;

                button {
                    width: 90px;
                    height: 40px;
                    font-size: 18px;
                    background-color: #fff;
                    border: 1px solid #313131;
                }
            }
        }
    }

    footer {
        .footer_top {
            width: 940px;
            margin: 100px auto 10px;

            a {
                display: inline-block;
                width: 130px;
                line-height: 30px;
                text-align: center;
                font-size: 24px;
                color: #949393;
                border-right: 3px solid #949393;

                &:last-child {
                    border: 0;
                }
            }
        }

        .footer_bottom {
            width: 100%;
            height: 135px;
            background-color: #dfdfdf;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;

            p {
                color: #949393;
                width: 395px;
                font-size: 14px;
                text-align: center;
            }

            img {
                width: 110px;
                height: 110px;
                position: absolute;
                top: 14px;
                right: 360px;
            }
        }
    }
}